BugĀ 602099 - Actions can be activatable too
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 15 Dec 2009 13:00:44 +0000 (08:00 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 15 Dec 2009 13:05:11 +0000 (08:05 -0500)
commite8ed566898ed71b9cf2ee21be04bde9113332969
treeecac9e62ada3f9eabddaa79c01ddee5e436e42e5
parent182108c68ebf43a3b254353a766ca9923bbc4c04
BugĀ 602099 - Actions can be activatable too

Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable.  Bug
602099 describes a use case for this.

Also add a GObject prerequisite to the GtkActivatable interface.
gtk/gtkactivatable.c